package ooday05DEzuoye;

public class ZuoYE005 {
    public static void main(String[] args) {
        Season[]seasons=Season.values();
        for (int i=0;i< seasons.length;i++){
            System.out.println(seasons[i]);
            System.out.println(seasons[i].getSeasonName());
            System.out.println(seasons[i].getSeasonDesc());
        }
        Season s=Season.WENTER;
        System.out.println(s.getSeasonName()+","+s.getSeasonDesc());
        switch (s){
            case SPRING:
                System.out.println("天气"+s.getSeasonDesc()+",玩");
                break;
            case SUMMER:
                System.out.println("tianqi"+s.getSeasonDesc()+",玩");
                break;
            case AUTUMN:
                System.out.println("秋"+s.getSeasonDesc()+",玩");
                break;
            case WENTER:
                System.out.println("冬"+s.getSeasonDesc()+",玩");
                break;
        }
    }
}
